package com.bw.journal.list

import com.bw.common.mvi.BaseRespository
import com.bw.network.BaseEntity
import com.bw.network.HttpType
import com.bw.network.NetWorkFactory
import kotlinx.coroutines.flow.Flow

class JournalListRepo : BaseRespository() {

    fun requestJournalList(map : Map<String,Any>):Flow<BaseEntity>{
        return NetWorkFactory.factory(HttpType.NONE).create(ApiService::class.java)
            .requestJournalList(createBody(map))
    }

}